package com.iwhalecloud.bss.kite.cucc.spec.impl.query;

import com.iwhalecloud.bss.kite.dataservice.api.IQueryServiceOfferService;
import com.iwhalecloud.bss.kite.dataservice.cache.ServiceOfferCache;
import com.iwhalecloud.bss.kite.dataservice.entity.ServiceOffer;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <Description> 服务提供查询 <br>
 *
 * @author su.yongmin<br>
 * @version 1.0<br>
 * @taskId <br>
 * @date 2020-11-17 <br>
 * @since R9.0<br>
 * @see com.iwhalecloud.bss.kite.cucc.spec.impl.query <br>
 */
@Service
public class ServiceOfferQueryService implements IQueryServiceOfferService {

    @Override
    public List<ServiceOffer> qryAllServiceOffer() {
        return ServiceOfferCache.getAllServOffer();
    }

}
